<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'table.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="./bamcss/bam.css">
	
<style type="text/css">
.table #td1 {
		width: 25%
	}
</style>

<script type="text/javascript" src="${pageContext.request.contextPath}/plugin/jquery/jquery.min.js"></script>
  </head>
  <body>
    <table class="table">
    			<c:forEach items="${requestScope.page.list}" var="zz">
   					<tr class="tr2">
						<td id="td1" ><a id="a1" href="javascript:void(0)"
								 onclick="ds(this.id)">${zz.phone}</a></td>
		   				<td id="td1">${zz.userName}</td>
		   				<td id="td1">${zz.zzrole.roleName }</td>
		   				<td id="td1">${zz.area.areaName }</td>
				  </tr> 
				 </c:forEach>
   			</table>
  </body>
  
  
  <script defer="defer">
   		var pageNo = ${requestScope.page.pageNo};
	   var logCount = ${requestScope.page.logCount };
	   var pageCount = ${requestScope.page.pageCount };
   		window.parent.fenye(logCount,pageCount,pageNo);
	</script>
	
  <script type="text/javascript">
  function ds(){
  	var id = "${pageContext.request.contextPath}/bamjsp/userManage/detail.jsp";
  	var title = "用户详细信息";
 	 window.parent.showDiv(id,title);
  }
  </script>
  
  
  
</html>
